 <?php 
 if(!isset($this)){die();}
 extract($this->getAllData());
 ?>
 
 <style type="text/css">
	#form_registro label{
		width:200px;display:block; float:left;
		text-align:right;
		}
	#form_registro input{outline:1px solid #ccc;
	display:block; float:left};
 </style>
 <form id="form_registro" name="formulario_registrarse" action="<?=$url?>" method="POST" enctype="application/x-www-form-urlencoded">
    <label>Nombre de usuario</label><input type="text" name="data[nombre]"/>
    <?=isset($e_nombre)? '<p class="error">'.$e_nombre.'</p>' :''?>
    <br />
    <label>Correo electronico</label><input type="text" name="data[email]"/>
    <?=isset($e_email)? '<p class="error">'.$e_email.'</p>' :''?>
    <br />
    <label>Contraseña</label><input type="text" name="data[password]"/>
    <br />
    <button type="submit">Enviar Datos y registrarse</button>
</form>